import Vue from 'vue'
import VueRouter from 'vue-router'
import  FilmRouter from '../router/film'
import  CenterRouter from '../router/center'
import  CinemaRouter from '../router/cinema'
import  DetailsRouter from '../router/details'
import  NewsRouter from '../router/news'
Vue.use(VueRouter)

const routes = [
  FilmRouter,
  CenterRouter,
  CinemaRouter,
  DetailsRouter,
  NewsRouter
]

const router = new VueRouter({
  mode: 'history',
  // base: process.env.BASE_URL,
  routes
})

export default router
